home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Time_ToAscii C Library Procedures Time_ToAscii
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Time_ToAscii, Time_FromAscii, Time_ToParts, Time_FromParts -
- time conversion routines
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<sspprriitteeTTiimmee..hh>>
-
- TTiimmee__TTooAAsscciiii(_s_e_c_o_n_d_s, _i_s_I_n_t_e_r_v_a_l, _b_u_f_f_e_r_P_t_r)
-
- TTiimmee__FFrroommAAsscciiii(_b_u_f_f_e_r_P_t_r, _t_i_m_e_P_t_r)
-
- TTiimmee__TTooPPaarrttss(_s_e_c_o_n_d_s, _i_s_I_n_t_e_r_v_a_l, _p_a_r_t_s_P_t_r)
-
- TTiimmee__FFrroommPPaarrttss(_p_a_r_t_s_P_t_r, _i_s_I_n_t_e_r_v_a_l, _s_e_c_o_n_d_s_P_t_r)
-
- AARRGGUUMMEENNTTSS
- int _s_e_c_o_n_d_s (in) A time value in seconds
- to be converted to Ascii.
-
- Boolean _i_s_I_n_t_e_r_v_a_l (in) If TRUE, interpret the
- time as a time interval.
-
- char *_b_u_f_f_e_r_P_t_r (out,in) A buffer to hold the con-
- verted time.
-
- Time *_t_i_m_e_P_t_r (out) Buffer to hold a time
- value converted from
- Ascii.
-
- Time_Parts _p_a_r_t_s_P_t_r(in/out)
- Buffer to contain the
- decomposed time values.
-
- int *_s_e_c_o_n_d_s_P_t_r (out) Place to store time value
- converted from parts.
-
-
- _________________________________________________________________
-
- DDEESSCCRRIIPPTTIIOONN
- The TTiimmee__TTooAAsscciiii and TTiimmee__FFrroommAAsscciiii procedures convert a
- time value in seconds to and from Ascii. TTiimmee__TTooPPaarrttss con-
- verts a time value in seconds into the year, month, day of
- year, day of month,m day of week, hours, minutes, and
- seconds. TTiimmee__FFrroommPPaarrttss converts a time value from its parts
- to seconds. Don't give it a date before January 1, 1970 and
- make sure that the day of year corresponds to the month and
- day of month values. An interval is the difference between
- two times.
-
- KKEEYYWWOORRDDSS
- ascii, time
-
-
-
- Sprite v.1.0 Printed: November 29, 1990 1
-
-
-
-